package com.qinglei.recoup.longconn.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class GrayScaleDataBodyV1 extends BodyT {

    /**
     * 雷达原始数据 uint16_t * 1 * 128 * 5
     */
    private byte[] data;

    @Override
    public byte[] encode() {
        return this.data;
    }

    @Override
    public void decode(byte[] body) {
        this.data = body;
    }
}